package com.zlh123.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zlh
 * @since 2025-01-13
 */
@Data
@TableName("borrow_record")
public class BorrowRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "brid", type = IdType.AUTO)
    private Integer brid;

    private Integer uid;

    @TableField(exist = false)  // 说明不存在此字段
    private String uname;

    @TableField(exist = false)  // 说明不存在此字段
    private String name;

    private Integer bid;

    @TableField(exist = false)  // 说明不存在此字段
    private String bname;

    private LocalDateTime brdate;
}
